package com.wxmp.userwechat.domain;


import java.io.Serializable;
import java.util.Date;



/**
 * 用户绑定微信
 *
 * @author 王嵩
 * @email 434923959@qq.com
 * @url www.k12iedu.com
 * @date 2018年11月27日 上午10:27:22
 */
public class SysUserWechatEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键UUID
	 */
	private Long id;
	
	/**
	 * 用户ID
	 */
	private Long userId;
	
	/**
	 * 微信用户唯一标识
	 */
	private String openid;
	
	/**
	 * 用户昵称
	 */
	private String nickname;
	
	/**
	 * 用户性别 1：男，2：女 3：保密
	 */
	private Integer sex;
	
	/**
	 * 用户国家，如CN
	 */
	private String country;
	
	/**
	 * 用户省份
	 */
	private String province;
	
	/**
	 * 用户城市
	 */
	private String city;
	
	/**
	 * 用户头像
	 */
	private String headimgurl;
	
	/**
	 * 
	 */
	private String unionid;
	
	/**
	 * 创建时间
	 */
	private Date createTime;
	
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 用户类型
	 */
	private Short userType;
	
	/**
	 * 手机
	 */
	private String mobile;
	
	/**
	 * 非数据库字段
	 * 用户表的账号字段userName
	 */
	private String userName;
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public SysUserWechatEntity() {
		super();
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getId() {
		return id;
	}
	
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	
	public Long getUserId() {
		return userId;
	}
	
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	
	public String getOpenid() {
		return openid;
	}
	
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	
	public String getNickname() {
		return nickname;
	}
	
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	
	public Integer getSex() {
		return sex;
	}
	
	public void setCountry(String country) {
		this.country = country;
	}
	
	public String getCountry() {
		return country;
	}
	
	public void setProvince(String province) {
		this.province = province;
	}
	
	public String getProvince() {
		return province;
	}
	
	public void setCity(String city) {
		this.city = city;
	}
	
	public String getCity() {
		return city;
	}
	
	public void setHeadimgurl(String headimgurl) {
		this.headimgurl = headimgurl;
	}
	
	public String getHeadimgurl() {
		return headimgurl;
	}
	
	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}
	
	public String getUnionid() {
		return unionid;
	}
	
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Date getCreateTime() {
		return createTime;
	}
	
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public Date getUpdateTime() {
		return updateTime;
	}

	public Short getUserType() {
		return userType;
	}

	public void setUserType(Short userType) {
		this.userType = userType;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
}
